Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrations v2: don't auto-create indices + FTR/esArchiver support #85778

Merged
merged 33 commits into from
Feb 1, 2021

Conversation

rudolf
Copy link
Contributor

@rudolf rudolf commented Dec 14, 2020

Summary

Saved objects no longer auto-creates indices

The new migrations aren't compatible with an auto-created saved objects index, so when tests delete .kibana and then use the saved objects client, the next test will fail because migrations fail. We could hack the v2 migrations to still work on the auto-created indices, but this is never the behaviour a user wants. If the saved objects index was deleted while Kibana was running we should "stop the world" and let users investigate. Our current behaviour means users sometimes end up with some changes in a new index and cannot "merge" the two indices and causes all sorts of runtime failures because of incompatible mappings or upgrade failures.

So this PR starts implementing the decision in #81790 to never auto-create system indices. I'm using the require_alias query parameter which means we could theoretically miss a route, but something is better than nothing until we move to a system index.

It reverses the decision in #14141 where we formalized the auto-create index behaviour in 6.1. However, when this decision was made Kibana used an index template so an auto-created index was acceptable since it would always have the correct mappings. With this PR, if the saved objects index and aliases doesn't exist, indexing actions will return a 500. I think we should also return a 500 for read operations when the index doesn't exist since Kibana really is broken, it's not the same as not being able to find a particular saved object, but I felt like this could be postponed into a follow-up PR (created #89642 to track this).

Enables v2 migrations in all tests

Because of removing the auto-create index behaviour I had to adapt tests to always initialize an empty kibana with esArchiver.emptyKibanaIndex() or move some before statements around so that we don't set UiSettings before the index gets initialized.

Closes #85911

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@rudolf rudolf mentioned this pull request Dec 17, 2020
17 tasks
@rudolf rudolf added Feature:Saved Objects project:ResilientSavedObjectMigrations Reduce Kibana upgrade failures by making saved object migrations more resilient labels Dec 17, 2020
@rudolf rudolf changed the title SO v2 migrations on by default FTR / EsArchiver support for migrations v2 Dec 17, 2020
@rudolf rudolf self-assigned this Dec 17, 2020
@rudolf rudolf force-pushed the so-migrations-on-by-default branch from a974a4a to c82a595 Compare January 21, 2021 15:08
@rudolf rudolf changed the title FTR / EsArchiver support for migrations v2 Migrations v2: don't auto-create indices + FTR/esArchiver support Jan 26, 2021
@kibanamachine
Copy link
Contributor

merge conflict between base and head

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/permissions/full_ml_access·ts.machine learning permissions for user with full ML access with data loaded (ft_ml_poweruser) should display elements on Data Frame Analytics results view page correctly

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: machine learning
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: 
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook
[00:00:00]               │ debg creating role ft_ml_source
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_ml_source]
[00:00:00]               │ debg creating role ft_ml_source_readonly
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_ml_source_readonly]
[00:00:00]               │ debg creating role ft_ml_dest
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_ml_dest]
[00:00:00]               │ debg creating role ft_ml_dest_readonly
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_ml_dest_readonly]
[00:00:00]               │ debg creating role ft_ml_ui_extras
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_ml_ui_extras]
[00:00:00]               │ debg creating role ft_default_space_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_default_space_ml_all]
[00:00:00]               │ debg creating role ft_default_space1_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_default_space1_ml_all]
[00:00:00]               │ debg creating role ft_all_spaces_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_all_spaces_ml_all]
[00:00:00]               │ debg creating role ft_default_space_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_default_space_ml_read]
[00:00:00]               │ debg creating role ft_default_space1_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_default_space1_ml_read]
[00:00:00]               │ debg creating role ft_all_spaces_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_all_spaces_ml_read]
[00:00:00]               │ debg creating role ft_default_space_ml_none
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added role [ft_default_space_ml_none]
[00:00:00]               │ debg creating user ft_ml_poweruser
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_poweruser]
[00:00:00]               │ debg created user ft_ml_poweruser
[00:00:00]               │ debg creating user ft_ml_poweruser_spaces
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_poweruser_spaces]
[00:00:00]               │ debg created user ft_ml_poweruser_spaces
[00:00:00]               │ debg creating user ft_ml_poweruser_space1
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_poweruser_space1]
[00:00:00]               │ debg created user ft_ml_poweruser_space1
[00:00:00]               │ debg creating user ft_ml_poweruser_all_spaces
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_poweruser_all_spaces]
[00:00:00]               │ debg created user ft_ml_poweruser_all_spaces
[00:00:00]               │ debg creating user ft_ml_viewer
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_viewer]
[00:00:01]               │ debg created user ft_ml_viewer
[00:00:01]               │ debg creating user ft_ml_viewer_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_viewer_spaces]
[00:00:01]               │ debg created user ft_ml_viewer_spaces
[00:00:01]               │ debg creating user ft_ml_viewer_space1
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_viewer_space1]
[00:00:01]               │ debg created user ft_ml_viewer_space1
[00:00:01]               │ debg creating user ft_ml_viewer_all_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_viewer_all_spaces]
[00:00:01]               │ debg created user ft_ml_viewer_all_spaces
[00:00:01]               │ debg creating user ft_ml_unauthorized
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_unauthorized]
[00:00:01]               │ debg created user ft_ml_unauthorized
[00:00:01]               │ debg creating user ft_ml_unauthorized_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] added user [ft_ml_unauthorized_spaces]
[00:00:01]               │ debg created user ft_ml_unauthorized_spaces
[00:00:01]             └-: permissions
[00:00:01]               └-> "before all" hook
[00:00:01]               └-: for user with full ML access
[00:00:01]                 └-> "before all" hook
[00:01:03]                 └-: with data loaded
[00:01:03]                   └-> "before all" hook
[00:01:03]                   └-> "before all" hook
[00:01:03]                     │ info [ml/farequote] Loading "mappings.json"
[00:01:03]                     │ info [ml/farequote] Loading "data.json.gz"
[00:01:03]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [ft_farequote] creating index, cause [api], templates [], shards [1]/[1]
[00:01:03]                     │ info [ml/farequote] Created index "ft_farequote"
[00:01:03]                     │ debg [ml/farequote] "ft_farequote" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:01:12]                     │ info [ml/farequote] Indexed 86274 docs into "ft_farequote"
[00:01:12]                     │ info [ml/ihp_outlier] Loading "mappings.json"
[00:01:12]                     │ info [ml/ihp_outlier] Loading "data.json.gz"
[00:01:12]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [ft_ihp_outlier] creating index, cause [api], templates [], shards [1]/[1]
[00:01:12]                     │ info [ml/ihp_outlier] Created index "ft_ihp_outlier"
[00:01:12]                     │ debg [ml/ihp_outlier] "ft_ihp_outlier" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:01:12]                     │ info [ml/ihp_outlier] Indexed 1460 docs into "ft_ihp_outlier"
[00:01:12]                     │ info [ml/module_sample_ecommerce] Loading "mappings.json"
[00:01:12]                     │ info [ml/module_sample_ecommerce] Loading "data.json.gz"
[00:01:12]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [ft_module_sample_ecommerce] creating index, cause [api], templates [], shards [1]/[1]
[00:01:12]                     │ info [ml/module_sample_ecommerce] Created index "ft_module_sample_ecommerce"
[00:01:12]                     │ debg [ml/module_sample_ecommerce] "ft_module_sample_ecommerce" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:01:12]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [ft_module_sample_ecommerce/6C7svUo_TSSfJf1EKgL-bA] update_mapping [_doc]
[00:01:12]                     │ info [ml/module_sample_ecommerce] Indexed 287 docs into "ft_module_sample_ecommerce"
[00:01:13]                     │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:01:13]                     │ debg  > Not found
[00:01:13]                     │ debg Creating index pattern with title 'ft_farequote' and time field '@timestamp'
[00:01:13]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.kibana_8.0.0_001/iVrCHLofRxK3P1LstCepag] update_mapping [_doc]
[00:01:14]                     │ debg Waiting up to 5000ms for index-pattern with title 'ft_farequote' to exist...
[00:01:14]                     │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:01:14]                     │ debg  > Found '704bd150-648f-11eb-8863-53871adf6d56'
[00:01:14]                     │ debg  > Created with id '704bd150-648f-11eb-8863-53871adf6d56'
[00:01:14]                     │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:01:14]                     │ debg  > Not found
[00:01:14]                     │ debg Creating index pattern with title 'ft_ihp_outlier' and time field '@timestamp'
[00:01:15]                     │ debg Waiting up to 5000ms for index-pattern with title 'ft_ihp_outlier' to exist...
[00:01:15]                     │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:01:15]                     │ debg  > Found '70ee2bd0-648f-11eb-8863-53871adf6d56'
[00:01:15]                     │ debg  > Created with id '70ee2bd0-648f-11eb-8863-53871adf6d56'
[00:01:15]                     │ debg Searching for 'index-pattern' with title 'ft_module_sample_ecommerce'...
[00:01:15]                     │ debg  > Not found
[00:01:15]                     │ debg Creating index pattern with title 'ft_module_sample_ecommerce' and time field 'order_date'
[00:01:16]                     │ debg Waiting up to 5000ms for index-pattern with title 'ft_module_sample_ecommerce' to exist...
[00:01:16]                     │ debg Searching for 'index-pattern' with title 'ft_module_sample_ecommerce'...
[00:01:16]                     │ debg  > Found '718a1db0-648f-11eb-8863-53871adf6d56'
[00:01:16]                     │ debg  > Created with id '718a1db0-648f-11eb-8863-53871adf6d56'
[00:01:16]                     │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:01:17]                     │ debg Creating anomaly detection job with id 'fq_single_permission' ...
[00:01:17]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:01:17]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:01:17]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:01:17]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:01:17]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-anomalies-shared/P3vSFAhSTnKiCR9EF7826Q] update_mapping [_doc]
[00:01:17]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1]
[00:01:17]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] updating number_of_replicas to [0] for indices [.ml-config]
[00:01:17]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:01:17]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:01:17]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.kibana_8.0.0_001/iVrCHLofRxK3P1LstCepag] update_mapping [_doc]
[00:01:18]                     │ debg Waiting up to 5000ms for 'fq_single_permission' to exist...
[00:01:18]                     │ debg > AD job created.
[00:01:18]                     │ debg Creating datafeed with id 'datafeed-fq_single_permission' ...
[00:01:19]                     │ debg Waiting up to 5000ms for 'datafeed-fq_single_permission' to exist...
[00:01:19]                     │ debg > Datafeed created.
[00:01:19]                     │ debg Opening anomaly detection job 'fq_single_permission'...
[00:01:19]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] Opening job [fq_single_permission]
[00:01:19]                     │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:01:19]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:01:19]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:01:19]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:01:19]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:01:19]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ml-size-based-ilm-policy]
[00:01:19]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ml-size-based-ilm-policy]
[00:01:19]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] [autodetect/111231] [CResourceMonitor.cc@77] Setting model memory limit to 20 MB
[00:01:19]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] Successfully set job state to [opened] for job [fq_single_permission]
[00:01:19]                     │ debg > AD job opened.
[00:01:19]                     │ debg Starting datafeed 'datafeed-fq_single_permission' with start: '0', end: '1612185285922'...
[00:01:19]                     │ debg > Datafeed started.
[00:01:19]                     │ debg Waiting up to 120000ms for datafeed state to be stopped...
[00:01:19]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:19]                     │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] Datafeed started (from: 1970-01-01T00:00:00.000Z to: 2021-02-01T13:14:45.922Z) with frequency [600000ms]
[00:01:19]                     │ debg --- retry.waitForWithTimeout error: expected job state to be stopped but got started
[00:01:20]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-anomalies-shared/P3vSFAhSTnKiCR9EF7826Q] update_mapping [_doc]
[00:01:20]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:20]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:20]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:01:21]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:21]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:21]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:21]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:22]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:01:22]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:22]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:22]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:22]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:22]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:01:23]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:23]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:23]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:23]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:23]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:01:24]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:24]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:24]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:24]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:24]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:01:25]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:25]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:25]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:25]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:25]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:01:26]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:26]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:26]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:01:26]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:26]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:27]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:27]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:27]                     │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:01:27]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:27]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:28]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:28]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:28]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:28]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:29]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:29]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:29]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:29]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:30]                     │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] Lookback has finished
[00:01:30]                     │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [no_realtime] attempt to stop datafeed [datafeed-fq_single_permission] for job [fq_single_permission]
[00:01:30]                     │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [no_realtime] try lock [20s] to stop datafeed [datafeed-fq_single_permission] for job [fq_single_permission]...
[00:01:30]                     │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [no_realtime] stopping datafeed [datafeed-fq_single_permission] for job [fq_single_permission], acquired [true]...
[00:01:30]                     │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [no_realtime] datafeed [datafeed-fq_single_permission] for job [fq_single_permission] has been stopped
[00:01:30]                     │ debg Fetching datafeed state for datafeed datafeed-fq_single_permission
[00:01:30]                     │ debg Waiting up to 120000ms for job state to be closed...
[00:01:30]                     │ debg Fetching anomaly detection job stats for job fq_single_permission...
[00:01:30]                     │ debg > AD job stats fetched.
[00:01:30]                     │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got opened
[00:01:30]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] Closing job [fq_single_permission], because [close job (api)]
[00:01:30]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] [autodetect/111231] [CCmdSkeleton.cc@61] Handled 86274 records
[00:01:30]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] [autodetect/111231] [CAnomalyJob.cc@1569] Pruning all models
[00:01:30]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-anomalies-shared/P3vSFAhSTnKiCR9EF7826Q] update_mapping [_doc]
[00:01:30]                     │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] State output finished
[00:01:30]                     │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] 120 buckets parsed from autodetect output
[00:01:30]                     │ debg Fetching anomaly detection job stats for job fq_single_permission...
[00:01:30]                     │ debg > AD job stats fetched.
[00:01:30]                     │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got closing
[00:01:31]                     │ debg Fetching anomaly detection job stats for job fq_single_permission...
[00:01:31]                     │ debg > AD job stats fetched.
[00:01:31]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:31]                     │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [fq_single_permission] job closed
[00:01:31]                     │ debg Fetching anomaly detection job stats for job fq_single_permission...
[00:01:32]                     │ debg > AD job stats fetched.
[00:01:32]                     │ debg Creating data frame analytic job with id 'iph_outlier_permission' ...
[00:01:32]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-config/-A6YQhXKTTO27I34fd00zQ] update_mapping [_doc]
[00:01:32]                     │ debg Waiting up to 5000ms for 'iph_outlier_permission' to exist...
[00:01:32]                     │ debg Fetching data frame analytics job 'iph_outlier_permission'...
[00:01:32]                     │ debg > DFA job fetched.
[00:01:32]                     │ debg > DFA job created.
[00:01:32]                     │ debg Starting data frame analytics job 'iph_outlier_permission'...
[00:01:32]                     │ info [o.e.x.m.a.TransportStartDataFrameAnalyticsAction] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Starting data frame analytics from state [stopped]
[00:01:32]                     │ debg > DFA job started.
[00:01:32]                     │ debg Waiting up to 60000ms for 'iph_outlier_permission' to have training_docs_count > 0...
[00:01:32]                     │ debg Fetching data frame analytics job stats for job iph_outlier_permission...
[00:01:32]                     │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] About to create first concrete index [.ml-stats-000001] with alias [.ml-stats-write]
[00:01:32]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-stats-000001] creating index, cause [api], templates [.ml-stats], shards [1]/[1]
[00:01:32]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] updating number_of_replicas to [0] for indices [.ml-stats-000001]
[00:01:32]                     │ debg > DFA job stats fetched.
[00:01:32]                     │ debg --- retry.waitForWithTimeout error: expected data frame analytics job 'iph_outlier_permission' to have training_docs_count > 0 (got 0)
[00:01:32]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] moving index [.ml-stats-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:01:32]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] moving index [.ml-stats-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ml-size-based-ilm-policy]
[00:01:32]                     │ info [o.e.x.m.d.s.ReindexingStep] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Creating destination index [user-iph_outlier_permission]
[00:01:32]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [user-iph_outlier_permission] creating index, cause [api], templates [], shards [1]/[1]
[00:01:32]                     │ info [o.e.x.m.d.s.ReindexingStep] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Started reindexing
[00:01:32]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] moving index [.ml-stats-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ml-size-based-ilm-policy]
[00:01:33]                     │ debg Fetching data frame analytics job stats for job iph_outlier_permission...
[00:01:33]                     │ debg > DFA job stats fetched.
[00:01:33]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:01:33]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Started loading data
[00:01:33]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Started analyzing
[00:01:33]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Waiting for result processor to complete
[00:01:33]                     │ info [o.e.x.m.d.p.AnalyticsResultProcessor] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Started writing results
[00:01:33]                     │ debg Fetching data frame analytics job stats for job iph_outlier_permission...
[00:01:33]                     │ debg > DFA job stats fetched.
[00:01:33]                     │ debg Waiting up to 120000ms for analytics state to be stopped...
[00:01:33]                     │ debg Fetching analytics state for job iph_outlier_permission
[00:01:33]                     │ debg Fetching data frame analytics job stats for job iph_outlier_permission...
[00:01:33]                     │ debg > DFA job stats fetched.
[00:01:33]                     │ debg --- retry.waitForWithTimeout error: expected analytics state to be stopped but got started
[00:01:34]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Result processor has completed
[00:01:34]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Closing process
[00:01:34]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] [data_frame_analyzer/112362] [Main.cc@241] [{"name":"E_DFOEstimatedPeakMemoryUsage","description":"The upfront estimate of the peak memory outlier detection would use","value":962304}
[00:01:34]                     │      ,{"name":"E_DFOPeakMemoryUsage","description":"The peak memory outlier detection used","value":639352}
[00:01:34]                     │      ,{"name":"E_DFOTimeToCreateEnsemble","description":"The time it took to create the ensemble used for outlier detection","value":27}
[00:01:34]                     │      ,{"name":"E_DFOTimeToComputeScores","description":"The time it took to compute outlier scores","value":91}
[00:01:34]                     │      ,{"name":"E_DFONumberPartitions","description":"The number of partitions outlier detection used","value":1}
[00:01:34]                     │      ]
[00:01:34]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Closed process
[00:01:34]                     │ info [o.e.x.m.d.DataFrameAnalyticsManager] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [iph_outlier_permission] Marking task completed
[00:01:34]                     │ debg Fetching analytics state for job iph_outlier_permission
[00:01:34]                     │ debg Fetching data frame analytics job stats for job iph_outlier_permission...
[00:01:34]                     │ debg > DFA job stats fetched.
[00:01:34]                     │ debg Creating calendar with id 'calendar_permission'...
[00:01:34]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-meta] creating index, cause [auto(bulk api)], templates [.ml-meta], shards [1]/[1]
[00:01:34]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] updating number_of_replicas to [0] for indices [.ml-meta]
[00:01:34]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-meta/gf4IHMM4QVWp6F2rkSRymw] update_mapping [_doc]
[00:01:34]                     │ debg Waiting up to 5000ms for 'calendar_permission' to exist...
[00:01:34]                     │ debg > Calendar created.
[00:01:34]                     │ debg Creating events for calendar with id 'calendar_permission'...
[00:01:34]                     │ debg Waiting up to 5000ms for 'calendar_permission' events to exist...
[00:01:34]                     │ debg > Calendar events created.
[00:01:34]                     │ debg Creating filter with id 'filter_permission'...
[00:01:34]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1612183185878808444] [.ml-meta/gf4IHMM4QVWp6F2rkSRymw] update_mapping [_doc]
[00:01:34]                     │ debg Waiting up to 5000ms for 'filter_permission' to exist...
[00:01:34]                     │ debg > Filter created.
[00:01:34]                   └-: (ft_ml_poweruser)
[00:01:34]                     └-> "before all" hook
[00:01:34]                     └-> "before all" hook
[00:01:34]                       │ debg SecurityPage.forceLogout
[00:01:34]                       │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:01:34]                       │ debg Already on the login page, not forcing anything
[00:01:34]                       │ debg TestSubjects.exists(loginForm)
[00:01:34]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:01:34]                       │ debg Waiting for Login Form to appear.
[00:01:34]                       │ debg Waiting up to 100000ms for login form...
[00:01:34]                       │ debg TestSubjects.exists(loginForm)
[00:01:34]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:01:34]                       │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:01:34]                       │ debg TestSubjects.click(loginUsername)
[00:01:34]                       │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:34]                       │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:34]                       │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:01:34]                       │ debg TestSubjects.click(loginPassword)
[00:01:34]                       │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:34]                       │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:35]                       │ debg TestSubjects.click(loginSubmit)
[00:01:35]                       │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:35]                       │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:35]                       │ debg Waiting for login result, expected: chrome.
[00:01:35]                       │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] .app-wrapper:not(.hidden-chrome)') with timeout=20000
[00:01:35]                       │ proc [kibana]   log   [13:15:01.205] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:01:37]                       │ debg browser[INFO] http://localhost:61121/app/home 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:37]                       │
[00:01:37]                       │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:37]                       │ debg Finished login process currentUrl = http://localhost:61121/app/home#/
[00:01:37]                       │ debg Waiting up to 20000ms for logout button visible...
[00:01:37]                       │ debg TestSubjects.exists(userMenuButton)
[00:01:37]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:37]                       │ debg TestSubjects.exists(userMenu)
[00:01:37]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:40]                       │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:01:40]                       │ debg TestSubjects.click(userMenuButton)
[00:01:40]                       │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:40]                       │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:40]                       │ debg TestSubjects.exists(userMenu)
[00:01:40]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:01:40]                       │ debg TestSubjects.exists(userMenu > logoutLink)
[00:01:40]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:01:40]                     └-> should display elements on Anomaly Detection page correctly
[00:01:40]                       └-> "before each" hook: global before each
[00:01:40]                       │ debg === TEST STEP === should load the AD job management page
[00:01:40]                       │ debg navigating to ml url: http://localhost:61121/app/ml
[00:01:40]                       │ debg navigate to: http://localhost:61121/app/ml
[00:01:41]                       │ debg browser[INFO] http://localhost:61121/app/ml?_t=1612185307078 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:41]                       │
[00:01:41]                       │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:41]                       │ debg ... sleep(700) start
[00:01:41]                       │ debg ... sleep(700) end
[00:01:41]                       │ debg returned from get, calling refresh
[00:01:42]                       │ERROR browser[SEVERE] http://localhost:61121/40041/bundles/core/core.entry.js 12:158404 TypeError: Failed to fetch
[00:01:42]                       │          at fetch_Fetch.fetchResponse (http://localhost:61121/40041/bundles/core/core.entry.js:6:32451)
[00:01:42]                       │          at async interceptResponse (http://localhost:61121/40041/bundles/core/core.entry.js:6:28637)
[00:01:42]                       │          at async http://localhost:61121/40041/bundles/core/core.entry.js:6:31117
[00:01:42]                       │ debg browser[INFO] http://localhost:61121/app/ml?_t=1612185307078 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:42]                       │
[00:01:42]                       │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:42]                       │ debg currentUrl = http://localhost:61121/app/ml
[00:01:42]                       │          appUrl = http://localhost:61121/app/ml
[00:01:42]                       │ debg TestSubjects.find(kibanaChrome)
[00:01:42]                       │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:43]                       │ debg ... sleep(501) start
[00:01:43]                       │ debg ... sleep(501) end
[00:01:46]                       │ debg in navigateTo url = http://localhost:61121/app/ml/overview
[00:01:46]                       │ debg --- retry.try error: URL changed, waiting for it to settle
[00:01:46]                       │ debg ... sleep(501) start
[00:01:47]                       │ debg ... sleep(501) end
[00:01:47]                       │ debg in navigateTo url = http://localhost:61121/app/ml/overview
[00:01:47]                       │ debg TestSubjects.exists(statusPageContainer)
[00:01:47]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:49]                       │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:50]                       │ debg TestSubjects.exists(mlApp)
[00:01:50]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:01:50]                       │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:01:50]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:01:50]                       │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:01:50]                       │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:01:50]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:01:50]                       │ debg TestSubjects.exists(mlPageJobManagement)
[00:01:50]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:01:50]                       │ debg === TEST STEP === should display the stats bar and the AD job table
[00:01:50]                       │ debg TestSubjects.exists(~mlJobStatsBar)
[00:01:50]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobStatsBar"]') with timeout=120000
[00:01:50]                       │ debg TestSubjects.exists(~mlJobListTable)
[00:01:50]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=120000
[00:01:50]                       │ debg === TEST STEP === should display an enabled "Create job" button
[00:01:50]                       │ debg TestSubjects.exists(mlCreateNewJobButton)
[00:01:50]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlCreateNewJobButton"]') with timeout=120000
[00:01:51]                       │ debg TestSubjects.isEnabled(mlCreateNewJobButton)
[00:01:51]                       │ debg TestSubjects.find(mlCreateNewJobButton)
[00:01:51]                       │ debg Find.findByCssSelector('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:01:51]                       │ debg === TEST STEP === should display the AD job in the list
[00:01:51]                       │ debg TestSubjects.exists(~mlJobListTable)
[00:01:51]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:01:51]                       │ debg TestSubjects.exists(mlJobListTable loaded)
[00:01:51]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:01:51]                       │ debg TestSubjects.find(mlJobListSearchBar)
[00:01:51]                       │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:01:52]                       │ debg TestSubjects.find(~mlJobListTable)
[00:01:52]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:01:52]                       │ debg === TEST STEP === should display enabled AD job result links
[00:01:52]                       │ debg TestSubjects.isEnabled(~mlJobListTable > ~row-fq_single_permission > mlOpenJobsInSingleMetricViewerButton)
[00:01:52]                       │ debg TestSubjects.find(~mlJobListTable > ~row-fq_single_permission > mlOpenJobsInSingleMetricViewerButton)
[00:01:52]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="mlOpenJobsInSingleMetricViewerButton"]') with timeout=10000
[00:01:52]                       │ debg TestSubjects.isEnabled(~mlJobListTable > ~row-fq_single_permission > mlOpenJobsInAnomalyExplorerButton)
[00:01:52]                       │ debg TestSubjects.find(~mlJobListTable > ~row-fq_single_permission > mlOpenJobsInAnomalyExplorerButton)
[00:01:52]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="mlOpenJobsInAnomalyExplorerButton"]') with timeout=10000
[00:01:52]                       │ debg === TEST STEP === should display enabled AD job row action buttons
[00:01:52]                       │ debg TestSubjects.isEnabled(~mlJobListTable > ~row-fq_single_permission > euiCollapsedItemActionsButton)
[00:01:52]                       │ debg TestSubjects.find(~mlJobListTable > ~row-fq_single_permission > euiCollapsedItemActionsButton)
[00:01:52]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:01:52]                       │ debg TestSubjects.exists(mlActionButtonDeleteJob)
[00:01:52]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlActionButtonDeleteJob"]') with timeout=2500
[00:01:54]                       │ debg --- retry.tryForTime error: [data-test-subj="mlActionButtonDeleteJob"] is not displayed
[00:01:55]                       │ debg TestSubjects.click(~mlJobListTable > ~row-fq_single_permission > euiCollapsedItemActionsButton)
[00:01:55]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:01:55]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:01:55]                       │ debg TestSubjects.exists(mlActionButtonDeleteJob)
[00:01:55]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlActionButtonDeleteJob"]') with timeout=5000
[00:01:55]                       │ debg TestSubjects.isEnabled(mlActionButtonStartDatafeed)
[00:01:55]                       │ debg TestSubjects.find(mlActionButtonStartDatafeed)
[00:01:55]                       │ debg Find.findByCssSelector('[data-test-subj="mlActionButtonStartDatafeed"]') with timeout=10000
[00:01:55]                       │ debg TestSubjects.exists(mlActionButtonDeleteJob)
[00:01:55]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlActionButtonDeleteJob"]') with timeout=2500
[00:01:55]                       │ debg TestSubjects.isEnabled(mlActionButtonCloneJob)
[00:01:55]                       │ debg TestSubjects.find(mlActionButtonCloneJob)
[00:01:55]                       │ debg Find.findByCssSelector('[data-test-subj="mlActionButtonCloneJob"]') with timeout=10000
[00:01:55]                       │ debg TestSubjects.exists(mlActionButtonDeleteJob)
[00:01:55]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlActionButtonDeleteJob"]') with timeout=2500
[00:01:55]                       │ debg TestSubjects.isEnabled(mlActionButtonEditJob)
[00:01:55]                       │ debg TestSubjects.find(mlActionButtonEditJob)
[00:01:55]                       │ debg Find.findByCssSelector('[data-test-subj="mlActionButtonEditJob"]') with timeout=10000
[00:01:55]                       │ debg TestSubjects.exists(mlActionButtonDeleteJob)
[00:01:55]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlActionButtonDeleteJob"]') with timeout=2500
[00:01:55]                       │ debg TestSubjects.isEnabled(mlActionButtonDeleteJob)
[00:01:55]                       │ debg TestSubjects.find(mlActionButtonDeleteJob)
[00:01:55]                       │ debg Find.findByCssSelector('[data-test-subj="mlActionButtonDeleteJob"]') with timeout=10000
[00:01:55]                       │ debg === TEST STEP === should select the job
[00:01:55]                       │ debg TestSubjects.find(~mlJobListTable > ~row-fq_single_permission > checkboxSelectRow-fq_single_permission)
[00:01:55]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="checkboxSelectRow-fq_single_permission"]') with timeout=10000
[00:01:55]                       │ debg TestSubjects.click(~mlJobListTable > ~row-fq_single_permission > checkboxSelectRow-fq_single_permission)
[00:01:55]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="checkboxSelectRow-fq_single_permission"]') with timeout=10000
[00:01:55]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="checkboxSelectRow-fq_single_permission"]') with timeout=10000
[00:01:56]                       │ debg TestSubjects.find(~mlJobListTable > ~row-fq_single_permission > checkboxSelectRow-fq_single_permission)
[00:01:56]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="checkboxSelectRow-fq_single_permission"]') with timeout=10000
[00:01:56]                       │ debg TestSubjects.exists(mlADJobListMultiSelectActionsArea active)
[00:01:56]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlADJobListMultiSelectActionsArea active"]') with timeout=120000
[00:01:56]                       │ debg === TEST STEP === should display enabled multi select result links
[00:01:56]                       │ debg TestSubjects.isEnabled(~mlADJobListMultiSelectActionsArea > mlOpenJobsInSingleMetricViewerButton)
[00:01:56]                       │ debg TestSubjects.find(~mlADJobListMultiSelectActionsArea > mlOpenJobsInSingleMetricViewerButton)
[00:01:56]                       │ debg Find.findByCssSelector('[data-test-subj~="mlADJobListMultiSelectActionsArea"] [data-test-subj="mlOpenJobsInSingleMetricViewerButton"]') with timeout=10000
[00:01:56]                       │ debg TestSubjects.isEnabled(~mlADJobListMultiSelectActionsArea > mlOpenJobsInAnomalyExplorerButton)
[00:01:56]                       │ debg TestSubjects.find(~mlADJobListMultiSelectActionsArea > mlOpenJobsInAnomalyExplorerButton)
[00:01:56]                       │ debg Find.findByCssSelector('[data-test-subj~="mlADJobListMultiSelectActionsArea"] [data-test-subj="mlOpenJobsInAnomalyExplorerButton"]') with timeout=10000
[00:01:56]                       │ debg === TEST STEP === should display enabled multi select action buttons
[00:01:56]                       │ debg TestSubjects.isEnabled(~mlADJobListMultiSelectActionsArea > mlADJobListMultiSelectManagementActionsButton)
[00:01:56]                       │ debg TestSubjects.find(~mlADJobListMultiSelectActionsArea > mlADJobListMultiSelectManagementActionsButton)
[00:01:56]                       │ debg Find.findByCssSelector('[data-test-subj~="mlADJobListMultiSelectActionsArea"] [data-test-subj="mlADJobListMultiSelectManagementActionsButton"]') with timeout=10000
[00:01:56]                       │ debg TestSubjects.exists(mlADJobListMultiSelectDeleteJobActionButton)
[00:01:56]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlADJobListMultiSelectDeleteJobActionButton"]') with timeout=2500
[00:01:58]                       │ debg --- retry.tryForTime error: [data-test-subj="mlADJobListMultiSelectDeleteJobActionButton"] is not displayed
[00:01:59]                       │ debg TestSubjects.click(mlADJobListMultiSelectManagementActionsButton)
[00:01:59]                       │ debg Find.clickByCssSelector('[data-test-subj="mlADJobListMultiSelectManagementActionsButton"]') with timeout=10000
[00:01:59]                       │ debg Find.findByCssSelector('[data-test-subj="mlADJobListMultiSelectManagementActionsButton"]') with timeout=10000
[00:01:59]                       │ debg TestSubjects.exists(mlADJobListMultiSelectDeleteJobActionButton)
[00:01:59]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlADJobListMultiSelectDeleteJobActionButton"]') with timeout=5000
[00:01:59]                       │ debg TestSubjects.isEnabled(mlADJobListMultiSelectStartDatafeedActionButton)
[00:01:59]                       │ debg TestSubjects.find(mlADJobListMultiSelectStartDatafeedActionButton)
[00:01:59]                       │ debg Find.findByCssSelector('[data-test-subj="mlADJobListMultiSelectStartDatafeedActionButton"]') with timeout=10000
[00:01:59]                       │ debg TestSubjects.exists(mlADJobListMultiSelectDeleteJobActionButton)
[00:01:59]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlADJobListMultiSelectDeleteJobActionButton"]') with timeout=2500
[00:01:59]                       │ debg TestSubjects.isEnabled(mlADJobListMultiSelectDeleteJobActionButton)
[00:01:59]                       │ debg TestSubjects.find(mlADJobListMultiSelectDeleteJobActionButton)
[00:01:59]                       │ debg Find.findByCssSelector('[data-test-subj="mlADJobListMultiSelectDeleteJobActionButton"]') with timeout=10000
[00:01:59]                       │ debg TestSubjects.find(~mlJobListTable > ~row-fq_single_permission > checkboxSelectRow-fq_single_permission)
[00:01:59]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="checkboxSelectRow-fq_single_permission"]') with timeout=10000
[00:01:59]                       │ debg TestSubjects.click(~mlJobListTable > ~row-fq_single_permission > checkboxSelectRow-fq_single_permission)
[00:01:59]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="checkboxSelectRow-fq_single_permission"]') with timeout=10000
[00:01:59]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="checkboxSelectRow-fq_single_permission"]') with timeout=10000
[00:01:59]                       │ debg TestSubjects.find(~mlJobListTable > ~row-fq_single_permission > checkboxSelectRow-fq_single_permission)
[00:01:59]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="checkboxSelectRow-fq_single_permission"]') with timeout=10000
[00:01:59]                       │ debg TestSubjects.exists(mlADJobListMultiSelectActionsArea inactive)
[00:01:59]                       │ debg Find.existsByCssSelector('[data-test-subj="mlADJobListMultiSelectActionsArea inactive"]') with timeout=120000
[00:01:59]                       └- ✓ pass  (19.0s) "machine learning  permissions for user with full ML access with data loaded (ft_ml_poweruser) should display elements on Anomaly Detection page correctly"
[00:01:59]                     └-> should display elements on Single Metric Viewer page correctly
[00:01:59]                       └-> "before each" hook: global before each
[00:01:59]                       │ debg === TEST STEP === should open AD job in the single metric viewer
[00:01:59]                       │ debg TestSubjects.click(~mlJobListTable > ~row-fq_single_permission > mlOpenJobsInSingleMetricViewerButton)
[00:01:59]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="mlOpenJobsInSingleMetricViewerButton"]') with timeout=10000
[00:01:59]                       │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_permission"] [data-test-subj="mlOpenJobsInSingleMetricViewerButton"]') with timeout=10000
[00:02:00]                       │ debg TestSubjects.exists(~mlPageSingleMetricViewer)
[00:02:00]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlPageSingleMetricViewer"]') with timeout=120000
[00:02:00]                       │ debg TestSubjects.missingOrFail(mlLoadingIndicator)
[00:02:00]                       │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlLoadingIndicator"]') with timeout=2500
[00:02:01]                       │ debg === TEST STEP === should pre-fill the AD job selection
[00:02:01]                       │ debg TestSubjects.findAll(mlJobSelectionBadges > ~mlJobSelectionBadge)
[00:02:01]                       │ debg Find.allByCssSelector('[data-test-subj="mlJobSelectionBadges"] [data-test-subj~="mlJobSelectionBadge"]') with timeout=10000
[00:02:01]                       │ debg === TEST STEP === should pre-fill the detector input
[00:02:01]                       │ debg TestSubjects.exists(mlSingleMetricViewerSeriesControls > mlSingleMetricViewerDetectorSelect)
[00:02:01]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlSingleMetricViewerSeriesControls"] [data-test-subj="mlSingleMetricViewerDetectorSelect"]') with timeout=120000
[00:02:01]                       │ debg TestSubjects.getAttribute(mlSingleMetricViewerSeriesControls > mlSingleMetricViewerDetectorSelect, value, tryTimeout=120000, findTimeout=10000)
[00:02:01]                       │ debg TestSubjects.find(mlSingleMetricViewerSeriesControls > mlSingleMetricViewerDetectorSelect)
[00:02:01]                       │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerSeriesControls"] [data-test-subj="mlSingleMetricViewerDetectorSelect"]') with timeout=10000
[00:02:01]                       │ debg === TEST STEP === should input the airline entity value
[00:02:01]                       │ debg TestSubjects.exists(mlSingleMetricViewerEntitySelection airline)
[00:02:01]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlSingleMetricViewerEntitySelection airline"]') with timeout=120000
[00:02:01]                       │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlSingleMetricViewerEntitySelection airline  > comboBoxInput
[00:02:01]                       │ debg TestSubjects.find(mlSingleMetricViewerEntitySelection airline  > comboBoxInput)
[00:02:01]                       │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerEntitySelection airline"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:02:01]                       │ debg comboBox.set, comboBoxSelector: mlSingleMetricViewerEntitySelection airline  > comboBoxInput
[00:02:01]                       │ debg TestSubjects.find(mlSingleMetricViewerEntitySelection airline  > comboBoxInput)
[00:02:01]                       │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerEntitySelection airline"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:02:01]                       │ debg comboBox.setElement, value: AAL
[00:02:01]                       │ debg comboBox.isOptionSelected, value: AAL
[00:02:03]                       │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:03]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:03]                       │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="AAL"]') with timeout=2500
[00:02:03]                       │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:03]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:06]                       │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:02:06]                       │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlSingleMetricViewerEntitySelection airline  > comboBoxInput
[00:02:06]                       │ debg TestSubjects.find(mlSingleMetricViewerEntitySelection airline  > comboBoxInput)
[00:02:06]                       │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerEntitySelection airline"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:02:06]                       │ debg === TEST STEP === should display the chart
[00:02:06]                       │ debg TestSubjects.exists(mlSingleMetricViewerChart)
[00:02:06]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlSingleMetricViewerChart"]') with timeout=120000
[00:02:06]                       │ debg === TEST STEP === should display the annotations section
[00:02:06]                       │ debg TestSubjects.exists(mlAnomalyExplorerAnnotations loaded)
[00:02:06]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomalyExplorerAnnotations loaded"]') with timeout=30000
[00:02:06]                       │ debg === TEST STEP === should display the anomalies table with entries
[00:02:06]                       │ debg TestSubjects.exists(mlAnomaliesTable)
[00:02:06]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesTable"]') with timeout=120000
[00:02:06]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:06]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:07]                       │ debg === TEST STEP === should display enabled anomaly row action buttons
[00:02:07]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:07]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:07]                       │ debg TestSubjects.exists(mlAnomaliesListRow row-1612185330700_1 > mlAnomaliesListRowActionsButton)
[00:02:07]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesListRow row-1612185330700_1"] [data-test-subj="mlAnomaliesListRowActionsButton"]') with timeout=120000
[00:02:07]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:07]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:07]                       │ debg TestSubjects.isEnabled(mlAnomaliesListRow row-1612185330700_1 > mlAnomaliesListRowActionsButton)
[00:02:07]                       │ debg TestSubjects.find(mlAnomaliesListRow row-1612185330700_1 > mlAnomaliesListRowActionsButton)
[00:02:07]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnomaliesListRow row-1612185330700_1"] [data-test-subj="mlAnomaliesListRowActionsButton"]') with timeout=10000
[00:02:07]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:07]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:07]                       │ debg TestSubjects.exists(mlAnomaliesListRowActionsMenu)
[00:02:07]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesListRowActionsMenu"]') with timeout=2500
[00:02:09]                       │ debg --- retry.tryForTime error: [data-test-subj="mlAnomaliesListRowActionsMenu"] is not displayed
[00:02:10]                       │ debg TestSubjects.click(mlAnomaliesListRow row-1612185330700_1 > mlAnomaliesListRowActionsButton)
[00:02:10]                       │ debg Find.clickByCssSelector('[data-test-subj="mlAnomaliesListRow row-1612185330700_1"] [data-test-subj="mlAnomaliesListRowActionsButton"]') with timeout=10000
[00:02:10]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnomaliesListRow row-1612185330700_1"] [data-test-subj="mlAnomaliesListRowActionsButton"]') with timeout=10000
[00:02:10]                       │ debg TestSubjects.exists(mlAnomaliesListRowActionsMenu)
[00:02:10]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesListRowActionsMenu"]') with timeout=5000
[00:02:10]                       │ debg TestSubjects.isEnabled(mlAnomaliesListRowActionConfigureRulesButton)
[00:02:10]                       │ debg TestSubjects.find(mlAnomaliesListRowActionConfigureRulesButton)
[00:02:10]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnomaliesListRowActionConfigureRulesButton"]') with timeout=10000
[00:02:10]                       │ debg === TEST STEP === should display the forecast modal with enabled run button
[00:02:10]                       │ debg TestSubjects.exists(mlSingleMetricViewerSeriesControls > mlSingleMetricViewerButtonForecast)
[00:02:10]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlSingleMetricViewerSeriesControls"] [data-test-subj="mlSingleMetricViewerButtonForecast"]') with timeout=120000
[00:02:10]                       │ debg TestSubjects.isEnabled(mlSingleMetricViewerSeriesControls > mlSingleMetricViewerButtonForecast)
[00:02:10]                       │ debg TestSubjects.find(mlSingleMetricViewerSeriesControls > mlSingleMetricViewerButtonForecast)
[00:02:10]                       │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerSeriesControls"] [data-test-subj="mlSingleMetricViewerButtonForecast"]') with timeout=10000
[00:02:10]                       │ debg TestSubjects.click(mlSingleMetricViewerSeriesControls > mlSingleMetricViewerButtonForecast)
[00:02:10]                       │ debg Find.clickByCssSelector('[data-test-subj="mlSingleMetricViewerSeriesControls"] [data-test-subj="mlSingleMetricViewerButtonForecast"]') with timeout=10000
[00:02:10]                       │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerSeriesControls"] [data-test-subj="mlSingleMetricViewerButtonForecast"]') with timeout=10000
[00:02:11]                       │ debg TestSubjects.exists(mlModalForecast)
[00:02:11]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlModalForecast"]') with timeout=120000
[00:02:11]                       │ debg TestSubjects.isEnabled(mlModalForecast > mlModalForecastButtonRun)
[00:02:11]                       │ debg TestSubjects.find(mlModalForecast > mlModalForecastButtonRun)
[00:02:11]                       │ debg Find.findByCssSelector('[data-test-subj="mlModalForecast"] [data-test-subj="mlModalForecastButtonRun"]') with timeout=10000
[00:02:11]                       │ debg TestSubjects.click(mlModalForecast > mlModalForecastButtonClose)
[00:02:11]                       │ debg Find.clickByCssSelector('[data-test-subj="mlModalForecast"] [data-test-subj="mlModalForecastButtonClose"]') with timeout=10000
[00:02:11]                       │ debg Find.findByCssSelector('[data-test-subj="mlModalForecast"] [data-test-subj="mlModalForecastButtonClose"]') with timeout=10000
[00:02:11]                       │ debg TestSubjects.missingOrFail(mlModalForecast)
[00:02:11]                       │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlModalForecast"]') with timeout=2500
[00:02:12]                       └- ✓ pass  (12.2s) "machine learning  permissions for user with full ML access with data loaded (ft_ml_poweruser) should display elements on Single Metric Viewer page correctly"
[00:02:12]                     └-> should display elements on Anomaly Explorer page correctly
[00:02:12]                       └-> "before each" hook: global before each
[00:02:12]                       │ debg === TEST STEP === should open AD job in the anomaly explorer
[00:02:12]                       │ debg TestSubjects.click(mlAnomalyResultsViewSelectorExplorer)
[00:02:12]                       │ debg Find.clickByCssSelector('[data-test-subj="mlAnomalyResultsViewSelectorExplorer"]') with timeout=10000
[00:02:12]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnomalyResultsViewSelectorExplorer"]') with timeout=10000
[00:02:12]                       │ debg TestSubjects.exists(mlPageAnomalyExplorer)
[00:02:12]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageAnomalyExplorer"]') with timeout=120000
[00:02:12]                       │ debg TestSubjects.missingOrFail(mlLoadingIndicator)
[00:02:12]                       │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlLoadingIndicator"]') with timeout=2500
[00:02:14]                       │ debg browser[INFO] http://localhost:61121/40041/bundles/plugin/ml/ml.chunk.8.js 16:298087 "Explorer overall swim lane data set:" Object
[00:02:14]                       │ debg browser[INFO] http://localhost:61121/40041/bundles/plugin/ml/ml.chunk.8.js 16:299595 "Explorer view by swim lane data set:" Object
[00:02:14]                       │ debg browser[INFO] http://localhost:61121/40041/bundles/plugin/ml/ml.chunk.8.js 16:298087 "Explorer overall swim lane data set:" Object
[00:02:14]                       │ debg === TEST STEP === should pre-fill the AD job selection
[00:02:14]                       │ debg TestSubjects.findAll(mlJobSelectionBadges > ~mlJobSelectionBadge)
[00:02:14]                       │ debg Find.allByCssSelector('[data-test-subj="mlJobSelectionBadges"] [data-test-subj~="mlJobSelectionBadge"]') with timeout=10000
[00:02:14]                       │ debg browser[INFO] http://localhost:61121/40041/bundles/plugin/ml/ml.chunk.8.js 16:299595 "Explorer view by swim lane data set:" Object
[00:02:14]                       │ debg === TEST STEP === should display the influencers list
[00:02:14]                       │ debg TestSubjects.exists(mlAnomalyExplorerInfluencerList)
[00:02:14]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomalyExplorerInfluencerList"]') with timeout=120000
[00:02:14]                       │ debg TestSubjects.findAll(mlInfluencerEntry field-airline)
[00:02:14]                       │ debg Find.allByCssSelector('[data-test-subj="mlInfluencerEntry field-airline"]') with timeout=10000
[00:02:14]                       │ debg === TEST STEP === should display the swim lanes
[00:02:14]                       │ debg TestSubjects.exists(mlAnomalyExplorerSwimlaneOverall)
[00:02:14]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomalyExplorerSwimlaneOverall"]') with timeout=120000
[00:02:14]                       │ debg TestSubjects.exists(mlAnomalyExplorerSwimlaneViewBy)
[00:02:14]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomalyExplorerSwimlaneViewBy"]') with timeout=120000
[00:02:14]                       │ debg === TEST STEP === should display the annotations panel
[00:02:14]                       │ debg TestSubjects.exists(mlAnomalyExplorerAnnotationsPanel loaded)
[00:02:14]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomalyExplorerAnnotationsPanel loaded"]') with timeout=30000
[00:02:14]                       │ debg === TEST STEP === should display the anomalies table with entries
[00:02:14]                       │ debg TestSubjects.exists(mlAnomaliesTable)
[00:02:14]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesTable"]') with timeout=120000
[00:02:14]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:14]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:15]                       │ debg === TEST STEP === should display enabled anomaly row action button
[00:02:15]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:15]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:16]                       │ debg TestSubjects.exists(mlAnomaliesListRow row-1612185339126_7 > mlAnomaliesListRowActionsButton)
[00:02:16]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesListRow row-1612185339126_7"] [data-test-subj="mlAnomaliesListRowActionsButton"]') with timeout=120000
[00:02:16]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:16]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:16]                       │ debg TestSubjects.isEnabled(mlAnomaliesListRow row-1612185339126_7 > mlAnomaliesListRowActionsButton)
[00:02:16]                       │ debg TestSubjects.find(mlAnomaliesListRow row-1612185339126_7 > mlAnomaliesListRowActionsButton)
[00:02:16]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnomaliesListRow row-1612185339126_7"] [data-test-subj="mlAnomaliesListRowActionsButton"]') with timeout=10000
[00:02:16]                       │ debg === TEST STEP === should display enabled configure rules action button
[00:02:16]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:16]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:17]                       │ debg TestSubjects.exists(mlAnomaliesListRowActionsMenu)
[00:02:17]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesListRowActionsMenu"]') with timeout=2500
[00:02:20]                       │ debg --- retry.tryForTime error: [data-test-subj="mlAnomaliesListRowActionsMenu"] is not displayed
[00:02:20]                       │ debg TestSubjects.click(mlAnomaliesListRow row-1612185339126_7 > mlAnomaliesListRowActionsButton)
[00:02:20]                       │ debg Find.clickByCssSelector('[data-test-subj="mlAnomaliesListRow row-1612185339126_7"] [data-test-subj="mlAnomaliesListRowActionsButton"]') with timeout=10000
[00:02:20]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnomaliesListRow row-1612185339126_7"] [data-test-subj="mlAnomaliesListRowActionsButton"]') with timeout=10000
[00:02:20]                       │ debg TestSubjects.exists(mlAnomaliesListRowActionsMenu)
[00:02:20]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesListRowActionsMenu"]') with timeout=5000
[00:02:20]                       │ debg TestSubjects.isEnabled(mlAnomaliesListRowActionConfigureRulesButton)
[00:02:20]                       │ debg TestSubjects.find(mlAnomaliesListRowActionConfigureRulesButton)
[00:02:20]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnomaliesListRowActionConfigureRulesButton"]') with timeout=10000
[00:02:20]                       │ debg === TEST STEP === should display enabled view series action button
[00:02:20]                       │ debg TestSubjects.findAll(mlAnomaliesTable > ~mlAnomaliesListRow)
[00:02:20]                       │ debg Find.allByCssSelector('[data-test-subj="mlAnomaliesTable"] [data-test-subj~="mlAnomaliesListRow"]') with timeout=10000
[00:02:21]                       │ debg TestSubjects.exists(mlAnomaliesListRowActionsMenu)
[00:02:21]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnomaliesListRowActionsMenu"]') with timeout=2500
[00:02:21]                       │ debg TestSubjects.isEnabled(mlAnomaliesListRowActionViewSeriesButton)
[00:02:21]                       │ debg TestSubjects.find(mlAnomaliesListRowActionViewSeriesButton)
[00:02:21]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnomaliesListRowActionViewSeriesButton"]') with timeout=10000
[00:02:21]                       └- ✓ pass  (9.6s) "machine learning  permissions for user with full ML access with data loaded (ft_ml_poweruser) should display elements on Anomaly Explorer page correctly"
[00:02:21]                     └-> should display elements on Data Frame Analytics page correctly
[00:02:21]                       └-> "before each" hook: global before each
[00:02:21]                       │ debg === TEST STEP === should load the DFA job management page
[00:02:21]                       │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:02:21]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:02:21]                       │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:02:22]                       │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:02:22]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:02:22]                       │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:02:22]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:02:22]                       │ debg === TEST STEP === should display the stats bar and the analytics table
[00:02:22]                       │ debg TestSubjects.exists(mlAnalyticsStatsBar)
[00:02:22]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsStatsBar"]') with timeout=120000
[00:02:22]                       │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:02:22]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=120000
[00:02:22]                       │ debg === TEST STEP === should display an enabled "Create job" button
[00:02:22]                       │ debg TestSubjects.exists(mlAnalyticsButtonCreate)
[00:02:22]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsButtonCreate"]') with timeout=120000
[00:02:22]                       │ debg TestSubjects.isEnabled(mlAnalyticsButtonCreate)
[00:02:22]                       │ debg TestSubjects.find(mlAnalyticsButtonCreate)
[00:02:22]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsButtonCreate"]') with timeout=10000
[00:02:22]                       │ debg === TEST STEP === should display the DFA job in the list
[00:02:22]                       │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:02:22]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:02:23]                       │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:02:23]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:02:23]                       │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:02:23]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:02:23]                       │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:02:23]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:02:23]                       │ debg TestSubjects.find(~mlAnalyticsTable)
[00:02:23]                       │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:02:23]                       │ debg === TEST STEP === should display enabled DFA job view and action menu
[00:02:23]                       │ debg TestSubjects.isEnabled(~mlAnalyticsTable > ~row-iph_outlier_permission > mlAnalyticsJobViewButton)
[00:02:23]                       │ debg TestSubjects.find(~mlAnalyticsTable > ~row-iph_outlier_permission > mlAnalyticsJobViewButton)
[00:02:23]                       │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=10000
[00:02:23]                       │ debg TestSubjects.isEnabled(~mlAnalyticsTable > ~row-iph_outlier_permission > euiCollapsedItemActionsButton)
[00:02:23]                       │ debg TestSubjects.find(~mlAnalyticsTable > ~row-iph_outlier_permission > euiCollapsedItemActionsButton)
[00:02:23]                       │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:02:23]                       │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:02:23]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=2500
[00:02:26]                       │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsJobDeleteButton"] is not displayed
[00:02:26]                       │ debg TestSubjects.click(~mlAnalyticsTable > ~row-iph_outlier_permission > euiCollapsedItemActionsButton)
[00:02:26]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:02:26]                       │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:02:26]                       │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:02:26]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=5000
[00:02:27]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobViewButton"][class="euiContextMenuItem"]') with timeout=10000
[00:02:27]                       │ debg === TEST STEP === should display enabled DFA job row action buttons
[00:02:27]                       │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:02:27]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=2500
[00:02:27]                       │ debg TestSubjects.isEnabled(mlAnalyticsJobStartButton)
[00:02:27]                       │ debg TestSubjects.find(mlAnalyticsJobStartButton)
[00:02:27]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobStartButton"]') with timeout=10000
[00:02:27]                       │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:02:27]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=2500
[00:02:27]                       │ debg TestSubjects.isEnabled(mlAnalyticsJobEditButton)
[00:02:27]                       │ debg TestSubjects.find(mlAnalyticsJobEditButton)
[00:02:27]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobEditButton"]') with timeout=10000
[00:02:27]                       │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:02:27]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=2500
[00:02:27]                       │ debg TestSubjects.isEnabled(mlAnalyticsJobCloneButton)
[00:02:27]                       │ debg TestSubjects.find(mlAnalyticsJobCloneButton)
[00:02:27]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:02:27]                       │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:02:27]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=2500
[00:02:27]                       │ debg TestSubjects.isEnabled(mlAnalyticsJobDeleteButton)
[00:02:27]                       │ debg TestSubjects.find(mlAnalyticsJobDeleteButton)
[00:02:27]                       │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=10000
[00:02:27]                       │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:02:27]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=2500
[00:02:27]                       │ debg TestSubjects.click(~mlAnalyticsTable > ~row-iph_outlier_permission > euiCollapsedItemActionsButton)
[00:02:27]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:02:27]                       │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:02:27]                       │ debg TestSubjects.missingOrFail(mlAnalyticsJobDeleteButton)
[00:02:27]                       │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=5000
[00:02:28]                       └- ✓ pass  (6.7s) "machine learning  permissions for user with full ML access with data loaded (ft_ml_poweruser) should display elements on Data Frame Analytics page correctly"
[00:02:28]                     └-> should display elements on Data Frame Analytics results view page correctly
[00:02:28]                       └-> "before each" hook: global before each
[00:02:28]                       │ debg === TEST STEP === displays the results view for created job
[00:02:28]                       │ debg TestSubjects.exists(~mlAnalyticsTable > ~row-iph_outlier_permission > mlAnalyticsJobViewButton)
[00:02:28]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=120000
[00:02:28]                       │ debg TestSubjects.click(~mlAnalyticsTable > ~row-iph_outlier_permission > mlAnalyticsJobViewButton)
[00:02:28]                       │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=10000
[00:02:28]                       │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_permission"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=10000
[00:02:28]                       │ debg TestSubjects.exists(mlPageDataFrameAnalyticsExploration)
[00:02:28]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalyticsExploration"]') with timeout=20000
[00:02:29]                       │ debg TestSubjects.exists(mlDFExpandableSection-results)
[00:02:29]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-results"]') with timeout=120000
[00:02:30]                       │ debg TestSubjects.exists(mlExplorationDataGrid loaded)
[00:02:30]                       │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlExplorationDataGrid loaded"]') with timeout=5000
[00:02:37]                       │ debg --- retry.tryForTime error: [data-test-subj="mlExplorationDataGrid loaded"] is not displayed
[00:02:38]                       │ info Taking screenshot "/dev/shm/workspace/parallel/12/kibana/x-pack/test/functional/screenshots/failure/machine learning  permissions for user with full ML access with data loaded _ft_ml_poweruser_ should display elements on Data Frame Analytics results view page correctly.png"
[00:02:39]                       │ info Current URL is: http://localhost:61121/app/ml/data_frame_analytics/exploration?_g=(ml%3A(analysisType%3Aoutlier_detection%2CjobId%3Aiph_outlier_permission))
[00:02:39]                       │ info Saving page source to: /dev/shm/workspace/parallel/12/kibana/x-pack/test/functional/failure_debug/html/machine learning  permissions for user with full ML access with data loaded _ft_ml_poweruser_ should display elements on Data Frame Analytics results view page correctly.html
[00:02:39]                       └- ✖ fail: machine learning  permissions for user with full ML access with data loaded (ft_ml_poweruser) should display elements on Data Frame Analytics results view page correctly
[00:02:39]                       │      Error: expected testSubject(mlExplorationDataGrid loaded) to exist
[00:02:39]                       │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/12/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:02:39]                       │       at Object.assertResultsTableExists (test/functional/services/ml/data_frame_analytics_results.ts:45:7)
[00:02:39]                       │       at Context.<anonymous> (test/functional/apps/ml/permissions/full_ml_access.ts:322:13)
[00:02:39]                       │       at Object.apply (/dev/shm/workspace/parallel/12/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:02:39]                       │ 
[00:02:39]                       │ 

Stack Trace

Error: expected testSubject(mlExplorationDataGrid loaded) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/12/kibana/test/functional/services/common/test_subjects.ts:51:15)
    at Object.assertResultsTableExists (test/functional/services/ml/data_frame_analytics_results.ts:45:7)
    at Context.<anonymous> (test/functional/apps/ml/permissions/full_ml_access.ts:322:13)
    at Object.apply (/dev/shm/workspace/parallel/12/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@rudolf rudolf merged commit 03636a0 into elastic:master Feb 1, 2021
@rudolf rudolf deleted the so-migrations-on-by-default branch February 1, 2021 14:46
spalger added a commit that referenced this pull request Feb 2, 2021
rudolf added a commit to rudolf/kibana that referenced this pull request Feb 2, 2021
gmmorris added a commit to lizozom/kibana that referenced this pull request Feb 2, 2021
…om/kibana into pr/89570

* 'sessions/save-all-sessions' of https://github.com/lizozom/kibana: (44 commits)
  [ML] Functional tests - skip DFA clone tests
  [Uptime] Fix synthetics detail step count (elastic#89940)
  Fixes the permissions to require cluster.manage in order to create an index and in order to update an index (elastic#89947)
  [Security Solution] [Detections] adds log info level for logging in cloud (elastic#89941)
  [Time to Visualize] Dashboard By Value Testing Lens (elastic#89581)
  [Uptime] Expand synthetic journey step thumbnail on hover (elastic#89179)
  TS project refs: Migrates snapshot_restore to a TS Project (elastic#89653)
  docs: APM 7.11 updates (elastic#89789)
  move skip to higher level (elastic#86952)
  Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)"
  Revert "Revert "Enable v2 so migrations, disable in FTR tests (elastic#89297)""
  Revert "Enable v2 so migrations, disable in FTR tests (elastic#89297)"
  [data.search] Allow search response to follow new hits format (elastic#88115)
  [Maps] Change 'create multi-layer map' title to be use-case focused (elastic#89520)
  skip flaky suite (elastic#86952)
  [Security Solution] Remove focustrap (elastic#89905)
  [Workplace Search] Add remaining i18n support for the Content Sources tree (elastic#89910)
  [esArchiver] log when migrations complete and we're done loading data (elastic#89938)
  Add --ssl flag to make resolver generator use ssl with kbn and elasticsearch clients (elastic#89873)
  TS project refs: Migrates grokdebugger (elastic#89652)
  ...
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 3, 2021
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 3, 2021
rudolf added a commit that referenced this pull request Feb 6, 2021
…upport (#85778)" (#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)""

This reverts commit f979580.

* Fix flaky saved objects management test #89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Feb 8, 2021
* master: (55 commits)
  [APM-UI][E2E] use githubNotify step (elastic#90514)
  [APM] Export ProcessorEvent type (elastic#90540)
  [Lens] Retain column config (elastic#90048)
  [Data Table] Add unit tests (elastic#90173)
  Migrate most plugins to synchronous lifecycle (elastic#89562)
  skip flaky suite (elastic#90555)
  skip flaky suite (elastic#64473)
  [actions] improve email action doc (elastic#90020)
  [Fleet] Support Fleet server system indices (elastic#89372)
  skip flaky suite (elastic#90552)
  Bump immer dependencies (elastic#90267)
  Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)" (elastic#89992)
  [Search Sessions] Use sync config (elastic#90138)
  chore(NA): add safe guard to remove bazelisk from yarn global at bootstrap (elastic#90538)
  [test] Await retry.waitFor (elastic#90456)
  chore(NA): integrate build buddy with our bazel setup and remote cache for ci (elastic#90116)
  Skip failing suite (elastic#90526)
  [Fleet] Fix incorrect conversion of string to numeric values in agent YAML (elastic#90371)
  [Docs] Update reporting troubleshooting for arm rhel/centos (elastic#90385)
  chore(NA): build bazel projects all at once in the distributable build process (elastic#90328)
  ...
rudolf added a commit to rudolf/kibana that referenced this pull request Feb 9, 2021
…upport (elastic#85778)" (elastic#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)""

This reverts commit f979580.

* Fix flaky saved objects management test elastic#89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/common/config.js
rudolf added a commit to rudolf/kibana that referenced this pull request Feb 9, 2021
…upport (elastic#85778)" (elastic#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)""

This reverts commit f979580.

* Fix flaky saved objects management test elastic#89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
rudolf added a commit to rudolf/kibana that referenced this pull request Feb 9, 2021
…upport (elastic#85778)" (elastic#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)""

This reverts commit f979580.

* Fix flaky saved objects management test elastic#89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
spalger added a commit to spalger/kibana that referenced this pull request Feb 13, 2021
rudolf added a commit that referenced this pull request Feb 16, 2021
…iver support (#85778)" (#89992) (#90839)

* Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)""

This reverts commit f979580.

* Fix flaky saved objects management test #89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fix visualize fixture after backport

* Disable monitoring plugin email notifications in functional tests

* Disabling monitoring emails doesnt disable it, configure instead

* Fix monitoring test

* Remove debug logging from FTR config

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Saved Objects project:ResilientSavedObjectMigrations Reduce Kibana upgrade failures by making saved object migrations more resilient release_note:skip Skip the PR/issue when compiling release notes reverted v7.12.0 v8.0.0
Projects
None yet
8 participants